$OpenBSD: patch-configure_ac,v 1.7 2017/05/09 17:25:50 ajacoutot Exp $

http://permalink.gmane.org/gmane.comp.gnome.desktop/51950
https://bugzilla.gnome.org/show_bug.cgi?id=770758#c3
https://bugzilla.gnome.org/show_bug.cgi?id=766329
https://bugzilla.gnome.org/show_bug.cgi?id=772736 (systemd --user)

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -427,6 +427,8 @@ PKG_CHECK_MODULES(SHARING,
 		  gio-unix-2.0
 		  $NM_MODULE)
 
+AM_CONDITIONAL(BUILD_SHARING, [test x"$enable_network_manager" = x"yes"])
+
 # ---------------------------------------------------------------------------
 # Enable Profiling
 # ---------------------------------------------------------------------------
